﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for Account
/// </summary>
public class Account
{
    private int user_id;
    private string username;
    private string password;
    private int user_group_id;
    private string email;
    private string first_name;
    private string last_name;
    private string phone;
    private string status;
    private DateTime date_added;
    private DateTime birthday;
    private string user_group_name;
    private string permission;
  # region Properties

    public string Permission
    {
        get { return permission; }
        set { permission = value; }
    }

    public string User_group_name
    {
        get { return user_group_name; }
        set { user_group_name = value; }
    }

    public int User_id
    {
        get { return user_id; }
        set { user_id = value; }
    }
    public DateTime Birthday
    {
        get { return birthday; }
        set { birthday = value; }
    }
        public DateTime Date_added
        {
            get { return date_added; }
            set { date_added = value; }
        }
        public string Username
        {
            get { return username; }
            set { username = value; }
        }
        public string Password
        {
            get { return password; }
            set { password = value; }
        }
        public int User_group_id
        {
            get { return user_group_id; }
            set { user_group_id = value; }
        }
        public string Email
        {
            get { return email; }
            set { email = value; }
        }

        public string First_name
        {
            get { return first_name; }
            set { first_name = value; }
        }
        public string Last_name
        {
            get { return last_name; }
            set { last_name = value; }
        }
        public string Phone
        {
            get { return phone; }
            set { phone = value; }
        }

        public string Status
        {
            get { return status; }
            set { status = value; }
        }
#endregion
    public Account()
	{
        this.user_id = 0;
        this.username = "";
        this.password = "";
        this.user_group_id = 0;
        this.email = "";
        this.first_name = "";
        this.last_name = "";
        this.phone = "";
        this.status = "";
        this.date_added = DateTime.Now;
        this.birthday = DateTime.Now;
        this.user_group_name = "";
        this.permission = "";
    }
    public Account(int _user_id,string _userName,string _password,int _user_group_id,string _email,string _first_name,string _last_name,string _phone,string _status,DateTime _date_added,DateTime _birthday,string _user_group_name,string _permission) 
    {
        this.user_id = _user_id;
        this.username = _userName;
        this.password = _password;
        this.user_group_id = _user_group_id;
        this.email = _email;
        this.first_name = _first_name;
        this.last_name = _last_name;
        this.phone = _phone;
        this.status = _status;
        this.date_added = _date_added;
        this.birthday = _birthday;
        this.user_group_name = _user_group_name;
        this.permission = _permission;
    }
}